package cn.yangke.org.domain;

import cn.yangke.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author YangKe
 * @Date 2022/6/6 15:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain {
    private String username;
    private String phone;
    private String email;
    //盐值
    private String salt;
    //使用盐值加密后的密码
    private String password;
    private Integer age;
    /**
     * 员工状态：0待审核，1以审核，-1驳回，2待激活
     */
    private Integer state = 0;
    private Long department_id;
    private Long logininfo_id;
    private Long shop_id;

    private Department department;


}
